package ca.seia.comp6521.a2.itemsetalgorithms;

import java.util.Arrays;

/**
 * @author itoe
 *
 */
public class PassIResult {

	private int support;
	private int[] singleItemCount;
	private BitVector bitVector;
	private long executionTime;
	
	
	public PassIResult(int support, int[] singleItemCount, long executionTime,BitVector bitVector) {
		this(support,singleItemCount,bitVector);
		this.executionTime = executionTime;
	}
	
	public PassIResult(int support, int[] singleItemCount, BitVector bitVector) {
		this.support = support;
		this.singleItemCount = singleItemCount;
		this.bitVector = bitVector;
	}

	public BitVector getBitVector() {
		return bitVector;
	}

	public void setBitVector(BitVector bitVector) {
		this.bitVector = bitVector;
	}

	public int getSupport() {
		return support;
	}

	public void setSupport(int support) {
		this.support = support;
	}

	public int[] getSingleItemCount() {
		return singleItemCount;
	}

	public void setSingleItemCount(int[] singleItemCount) {
		this.singleItemCount = singleItemCount;
	}
	
	public long getExecutionTime() {
		return executionTime;
	}

	public void setExecutionTime(long executionTime) {
		this.executionTime = executionTime;
	}

	@Override
	public String toString() {
		return "PassIResult [support=" + support + ", singleItemCount=" + Arrays.toString(singleItemCount) + ", bitVector=" + bitVector + ", executionTime="
				+ executionTime + "]";
	}

}
